package com.juc.semaphore.semaphore20;

public class ThreadP  extends Thread{
	
	private RepastService repastService;
	
	public ThreadP(RepastService repastService) {
		super();
		this.repastService = repastService;
	}
    @Override
    public void run() {
    	repastService.set();
    }
}
